package com.ruoyi.tj.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.ruoyi.common.core.domain.entity.SysDictData;
import org.apache.ibatis.annotations.One;
import org.apache.ibatis.mapping.FetchType;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 住房-住房体检信息
 * </p>
 *
 * @author aoliao
 * @since 2024-03-23
 */
@TableName("tj_zf_zhufangtijianxinxi")
public class ZfZhufangtijianxinxi extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * 住房基本信息编号uuid
     */
    @TableField("loudong_id")
    private String loudongId;

    /**
     * 小区编号
     */
    @TableField("xiaoqu_id")
    private Long xiaoquId;

    /**
     * 字典关联id
     */
    @TableField("dict_code")
    private Long dictCode;

    /**
     * 字典类别
     */
    @TableField("dict_type")
    private String dictType;

    /**
     * 字典值
     */
    @TableField("dict_value")
    private String dictValue;

    /**
     * 用于界面显示
     */
    @TableField(exist = false)
    private SysDictData dictData;

    /**
     * 备注
     */
    @TableField("remark")
    private String remark;

    /**
     * 是否存在安全隐患(1是，0否)
     */
    @TableField("sfczaqyh")
    private Boolean sfczaqyh;

    /**
     * 具体位置描述
     */
    @TableField("jtwz_remark")
    private String jtwzRemark;

    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    @TableField(exist = false)
    private String type;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getLoudongId() {
        return loudongId;
    }

    public ZfZhufangtijianxinxi setLoudongId(String loudongId) {
        this.loudongId = loudongId;
        return this;
    }

    public Long getDictCode() {
        return dictCode;
    }

    public ZfZhufangtijianxinxi setDictCode(Long dictCode) {
        this.dictCode = dictCode;
        return this;
    }

    public String getDictType() {
        return dictType;
    }

    public ZfZhufangtijianxinxi setDictType(String dictType) {
        this.dictType = dictType;
        return this;
    }

    public String getDictValue() {
        return dictValue;
    }

    public ZfZhufangtijianxinxi setDictValue(String dictValue) {
        this.dictValue = dictValue;
        return this;
    }

    public String getRemark() {
        return remark;
    }

    public ZfZhufangtijianxinxi setRemark(String remark) {
        this.remark = remark;
        return this;
    }

    public Boolean getSfczaqyh() {
        return sfczaqyh;
    }

    public ZfZhufangtijianxinxi setSfczaqyh(Boolean sfczaqyh) {
        this.sfczaqyh = sfczaqyh;
        return this;
    }

    public String getJtwzRemark() {
        return jtwzRemark;
    }

    public ZfZhufangtijianxinxi setJtwzRemark(String jtwzRemark) {
        this.jtwzRemark = jtwzRemark;
        return this;
    }

    public Long getXiaoquId() {
        return xiaoquId;
    }

    public void setXiaoquId(Long xiaoquId) {
        this.xiaoquId = xiaoquId;
    }


    @Override
    public String toString() {
        return "ZfZhufangtijianxinxi{" +
            "id = " + id +
            ", loudongId = " + loudongId +
            ", xiaoquId = " + xiaoquId +
            ", dictCode = " + dictCode +
            ", dictType = " + dictType +
            ", dictValue = " + dictValue +
            ", remark = " + remark +
            ", creator = " + creator +
            ", deptId = " + deptId +
            ", deptPath = " + deptPath +
            ", userId = " + userId +
            ", createTime = " + createTime +
            ", updater = " + updater +
            ", updateTime = " + updateTime +
            ", deleted = " + deleted +
            ", reviewed = " + reviewed +
        "}";
    }
}
